-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Arachnid CREATE2 Deployer For Some Contracts #482
Conversation
Fixes #481 Some contracts included in our deployment script are expected to use the Arachnid CREATE deployment proxy instead of the Safe singleton factory. We change our deployment scripts to manually use the Arachnid CREATE2 deployer in those specific cases, so the contracts end up at the expected addresses. Affected contracts: - ERC-4337 entry point - Daimo P-256 verifier
Pull Request Test Coverage Report for Build 10385621801Details
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The DaimoP256Verifier
address is now using the Arachnid one, but the Entrypoint
is still using the safe-singleton-factory
when I checked with pnpm run deploy hardhat
.
It was using the old files, rectified after doing build
using the pnpm install
in the root directory.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unrelated: benchmark
check is failing, but it is unrelated to this PR.
Should be fixed in #484 |
Will we be able to deploy the contract to networks that enforce EIP-155? |
This only affects:
For the Daimo P-256 verifier, we can easily have exceptions for networks that don't have the Arachnid CREATE2 deployer (so it will just end up on a "non-canonical" address). It is also not a "core" Safe contract, so I don't see this as a huge issue. For the EntryPoint contract, it is a bit more complicated (as the Safe4337Module will also end up on a different address), and I assume that getting bundler compatibility will also be a challenge. I would wait to see how the 4337 ecosystem handles this particular case before deciding what we do. |
Fixes #481
Some contracts included in our deployment script are expected to use the Arachnid CREATE deployment proxy instead of the Safe singleton factory. We change our deployment scripts to manually use the Arachnid CREATE2 deployer in those specific cases, so the contracts end up at the expected addresses.
Affected contracts:
You can verify this works by running
pnpm run deploy hardhat
in the Passkey package and checking the deployment addresses are what you expect them to be: